package models

type Notice struct {
	Id         uint   `json:"id,omitempty" gorm:"primaryKey;autoIncrement"`
	AboutLocal string `json:"about_local,omitempty" gorm:"type:text"`
	Traffic    string `json:"traffic,omitempty" gorm:"type:text"`
	Materials  string `json:"materials,omitempty" gorm:"type:text"`
	ShopId     int64  `json:"shop_id,omitempty"`
}

func (Notice) TableName() string {
	return "fa_notice"
}
